<?php
if( !empty ( $this->arrNewPhotoResult ) ){
    $arrAlbumByArticleIds = $this->arrNewPhotoResult;
    $i = 1;
    foreach ($arrAlbumByArticleIds as $albumByArticleIds) {
        ?>
        <li <?php echo ($i % 3 == 0 ? 'class="end"' : ''); ?>>
            <div class="block_image_thumb"><a href="<?php echo $this->Articleurl($albumByArticleIds); ?>" title="<?php echo $albumByArticleIds["title"]; ?>" alt="<?php echo $albumByArticleIds["title"]; ?>" rel="example_group"><img src="<?php echo $this->imageurl($albumByArticleIds['thumbnail_url'], $this->imageSize['size5']); ?>" width="207" height="155" title="<?php echo $albumByArticleIds["title"]; ?>" alt="<?php echo $albumByArticleIds["title"]; ?>" /> <span class="icon_photo">&nbsp;</span> </a> </div>
            <h2> <a href="<?php echo $this->Articleurl($albumByArticleIds); ?>" class="txt_black_hover_blue"><?php echo $albumByArticleIds['title']; ?></a> </h2>
            <p class="txt_gray txt_11">Lượt xem: <?php echo $this->Articleview($albumByArticleIds); ?> </p>
        </li>
        <?php
        $i++;
    }
}
?>